body {
  width: 370px;
  overflow: hidden;
}

.row {
  display: flex; /* 使用弹性盒布局 */
  justify-content: space-between; /* 两列分开排列 */
  margin: 0px; /* 外边距 */
  padding: 8px; /* 内边距 */
}

.option-title {
  font-size: 16px; /* 字体大小 */
  font-weight: bold; /* 字体加粗 */
  width: 100px; /* 宽度 */
  flex-shrink: 0;
}

.option-content {
  flex-grow: 1; /* 占据剩余空间 */
  padding-left: 10px; /* 左边内边距 */
  flex-shrink: 1;
}

.on-line{
  display: flex;
  align-items: center;
}

.on-line span{
  margin-right: 5px;
}

#audio-list,
#theme-mode-list {
  display: flex;
  flex-wrap: wrap;
}

.audio-item{
  position: relative;
  margin-right: 5px; /* 添加右侧间距 */
  margin-bottom: 3px;
  margin-top: 3px;
  white-space: nowrap; /* 防止内容换行 */
  display: flex;
  align-items: center;
}

.audio-item span,
#theme-mode-list span {
  margin-top: 3px;
  cursor: pointer;
}

#theme-mode-list span {
  margin-right: 10px;
}

#time-list {
  display: flex; /* 使用弹性盒布局 */
  flex-wrap: wrap; /* 允许内容换行 */
  align-items: center; /* 垂直居中 */
}

.time-item {
  position: relative;
  margin-right: 5px; /* 添加右侧间距 */
  margin-bottom: 5px;
  white-space: nowrap; /* 防止内容换行 */
  display: flex;
  align-items: center;
}

.time-custom, .time-custom-text {
  margin-right: 10px; /* 右边距 */
}

.delete-btn {
  color: #ffa39a;
  background-color: #f2f2f2;

  position: absolute;
  top: 0;
  right: 0;
  padding: 0px 5px;
  font-size: 9px;
  border: none;
  cursor: pointer;
  border-radius: 10px;
}

.delete-btn:hover {
  background-color: #ddd;
}

.time-custom-text{
  margin-right: 16px;
}

input[type="radio"], input[type="checkbox"] {
  margin-right: 5px; /* 右边距 */
  cursor: pointer;
}

#add-div {
  display: flex; /* 使用弹性盒布局 */
  align-items: center; /* 垂直居中 */
}

#add-time {
  margin-right: 5px;
  border: none; /* 移除所有边框 */
  border-bottom: 2px solid black; /* 仅设置底部边框 */
  outline: none; /* 在聚焦时移除轮廓 */
}

#add{
  margin-left: 5px;
}

#sound_desc{
  color: #666666;
  margin-left: 5px;
}

/*
 * ============================================================================
 * Dark Mode Styles
 * ============================================================================
 */

body.dark-mode #sound_desc {
  color: #aaaaaa;
}

body.dark-mode .delete-btn {
  color: #ff5d4e;
  background-color: #ffffff1a;
  font-weight: 900;
}

body.dark-mode .delete-btn:hover {
  background-color: #ffffff6a;
}

body.dark-mode #add-time {
  background-color: #1a1a1a;
  border-bottom: 2px solid white; /* 仅设置底部边框 */
  color: white;
}